<template>
  <div class="intro">
    <h2 class="title">{{ priceintro.title }}</h2>
    <div class="content">{{ priceintro.introduction }}</div>
  </div>
</template>

<script setup>
import usedetailstore from '@/stores/modules/detail';
import { storeToRefs } from 'pinia';
const detailstore=usedetailstore();
const {houseinfos}=storeToRefs(detailstore);
const mainPart=houseinfos.value.mainPart;
// console.log(mainPart);
const priceintro=mainPart.introductionModule;

</script>

<style lang="less" scoped>
.intro {
  padding: 16px 12px;
  border-top: 5px solid #f2f3f4;

  .title {
    font-size: 14px;
    color: #000;
    font-weight: 700;
  }

  .content {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
  }
}
</style>